Animation Sequence Associated With Image

ABSTRACT

In one embodiment, an image may be displayed in one of several display modes. When an image is displayed in a first display mode on the screen of an electronic device, a user input may cause the image to transition to a second display mode. An animation sequence is displayed while the image transitions from the first display mode to the second display mode.

TECHNICAL FIELD

This disclosure generally relates to a user interface.

BACKGROUND

A user interface (UI), in the industrial design field of human-machineinteraction, is the space where interactions between humans and machinesoccur. The goal of the interactions between a human, often referred toas a “user”, and a machine at the user interface is the user's controlof the machine and its operations (e.g., through user input) and machinefeedback (e.g., through program output). A graphical user interface(GUI) is a type of user interface that allows users to interact withsoftware applications executing on electronic or computing devicesthrough multimedia objects (e.g., images, videos, audios, etc.) ratherthan purely text commands.

SUMMARY OF PARTICULAR EMBODIMENTS

In particular embodiments, a user interface for presenting content tousers may have a hierarchical structure. The user interface may have anynumber of content sections, and each content section may have any numberof content items. The content items may be of any type or format. A usermay consume or interact with some of the content items. In particularembodiments, each content item may correspond to a user-interfaceelement.

In particular embodiments, a content item, such as an image (e.g., adigital photograph, or photo for short), when being displayed on anelectronic device, may be displayed in one of several display modes,including, for example and without limitation, full-screen mode, on-pagemode, and index mode (i.e., table-of-content (TOC) mode). In particularembodiments, when an image is displayed in a first display mode on anelectronic device having a touchscreen, a user input (e.g., the usersliding his finger quickly across the touchscreen to make a fingerswipe, pan, or drag gesture) may cause the display mode to transition toa second display mode so that the image is displayed in the seconddisplay mode. An animation sequence may be displayed in connection withthe mode transition, which occurs in response to the user input (e.g.,the user's swipe gesture).

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example network environment associated with asocial-networking system.

FIGS. 2A and 2B illustrate two example mobile electronic devices.

FIG. 3 illustrates an example social graph.

FIG. 4 illustrates an example object hierarchy.

FIGS. 5A-5C illustrate example display modes.

FIG. 6 illustrates an example method for transitioning an image betweentwo display modes.

FIGS. 7A-7I illustrate an example animation sequence displayed when animage is transitioned between two display modes.

FIG. 8 illustrates an example computer system.

DESCRIPTION OF EXAMPLE EMBODIMENTS

A user interface (UI) may be incorporated into any type of softwareapplications, including, for example, desktop applications, mobileapplications, or web-based applications, to enable users to interactwith and control the applications. A graphical user interface (GUI) is atype of user interface that enables users to interact with softwareapplications through multimedia objects, including, for example, icons,buttons, menus, images, video, or audios.

In particular embodiments, a software application may be associated witha social-networking system. FIG. 1 illustrates an example networkenvironment 100 associated with a social-networking system. Networkenvironment 100 includes a user 101, a client system 130, asocial-networking system 160, and a third-party system 170 connected toeach other by a network 110. Although FIG. 1 illustrates a particulararrangement of user 101, client system 130, social-networking system160, third-party system 170, and network 110, this disclosurecontemplates any suitable arrangement of user 101, client system 130,social-networking system 160, third-party system 170, and network 110.As an example and not by way of limitation, two or more of client system130, social-networking system 160, and third-party system 170 may beconnected to each other directly, bypassing network 110. As anotherexample, two or more of client system 130, social-networking system 160,and third-party system 170 may be physically or logically co-locatedwith each other in whole or in part. Moreover, although FIG. 1illustrates a particular number of users 101, client systems 130,social-networking systems 160, third-party systems 170, and networks110, this disclosure contemplates any suitable number of users 101,client systems 130, social-networking systems 160, third-party systems170, and networks 110. As an example and not by way of limitation,network environment 100 may include multiple users 101, client system130, social-networking systems 160, third-party systems 170, andnetworks 110.

In particular embodiments, user 101 may be an individual (human user),an entity (e.g., an enterprise, business, or third-party application),or a group (e.g., of individuals or entities) that interacts orcommunicates with or over social-networking system 160. In particularembodiments, social-networking system 160 may be a network-addressablecomputing system hosting an online social network. Social-networkingsystem 160 may generate, store, receive, and transmit social-networkingdata, such as, for example, user-profile data, concept-profile data,social-graph information, or other suitable data related to the onlinesocial network. Social-networking system 160 may be accessed by theother components of network environment 100 either directly or vianetwork 110. In particular embodiments, social-networking system 160 mayinclude an authorization server that allows users 101 to opt in or optout of having their actions logged by social-networking system 160 orshared with other systems (e.g., third-party systems 170), such as, forexample, by setting appropriate privacy settings. In particularembodiments, third-party system 170 may be a network-addressablecomputing system that can host various third-party software applications(e.g., web-based applications). Third-party system 170 may generate,store, receive, and transmit various types of data, such as, forexample, texts, images, videos, or audios. Third-party system 170 may beaccessed by the other components of network environment 100 eitherdirectly or via network 110. In particular embodiments, one or moreusers 101 may use one or more client systems 130 to access, send datato, and receive data from social-networking system 160 or third-partysystem 170. Client system 130 may access social-networking system 160 orthird-party system 170 directly, via network 110, or via a third-partysystem. As an example and not by way of limitation, client system 130may access third-party system 170 via social-networking system 160.Client system 130 may be any suitable computing device, such as, forexample, a personal computer, a laptop computer, a cellular telephone, asmartphone, or a tablet computer.

This disclosure contemplates any suitable network 110. As an example andnot by way of limitation, one or more portions of network 110 mayinclude an ad hoc network, an intranet, an extranet, a virtual privatenetwork (VPN), a local area network (LAN), a wireless LAN (WLAN), a widearea network (WAN), a wireless WAN (WWAN), a metropolitan area network(MAN), a portion of the Internet, a portion of the Public SwitchedTelephone Network (PSTN), a cellular telephone network, or a combinationof two or more of these. Network 110 may include one or more networks110.

Links 150 may connect client system 130, social-networking system 160,and third-party system 170 to communication network 110 or to eachother. This disclosure contemplates any suitable links 150. Inparticular embodiments, one or more links 150 include one or morewireline (such as for example Digital Subscriber Line (DSL) or Data OverCable Service Interface Specification (DOCSIS)), wireless (such as forexample Wi-Fi or Worldwide Interoperability for Microwave Access(WiMAX)), or optical (such as for example Synchronous Optical Network(SONET) or Synchronous Digital Hierarchy (SDH)) links. In particularembodiments, one or more links 150 each include an ad hoc network, anintranet, an extranet, a VPN, a LAN, a WLAN, a WAN, a WWAN, a MAN, aportion of the Internet, a portion of the PSTN, a cellulartechnology-based network, a satellite communications technology-basednetwork, another link 150, or a combination of two or more such links150. Links 150 need not necessarily be the same throughout networkenvironment 100. One or more first links 150 may differ in one or morerespects from one or more second links 150.

In particular embodiments, data (e.g., data representing various typesof information or content) may be sent between servers associated withsocial-networking system 160 and individual client systems 130 vianetwork 110. When two electronic devices (e.g., a server and a client)are connected to a network (e.g., a computer or communications network,such as network 110), data may be transmitted between the two devicesover the network using one or more suitable network protocols. A networkmay include any number of sub-networks. By transmitting data between thetwo devices, the two devices may communicate with each other.

In network communications, there are two ways to send a communication(i.e., data) from one device to another device: push and pull. With pushtechnology, the request for the communication transaction is initiatedby the sending device. That is, the sending device “pushes” thecommunication, so to speak, to the receiving device. In this case, thesending device may be considered the active party and the receivingdevice may be considered the passive party in the transaction. Incontrast, with pull technology, the request for the communicationtransaction is initiated by the receiving device. That is, the receivingdevice “pulls” the communication, so to speak, from the sending device.In this case, the sending device may be considered the passive party andthe receiving device may be considered the active party in thetransaction. In particular embodiments, a server associated withsocial-networking system 160 may push data to a client system 130. Acommunication pushed from a server to a client may be referred to as a“push notification”. Similarly, a client system 130 may push data to aserver associated with social-networking system 160.

In particular embodiments, a client system 130 may be a mobileelectronic or computing device. A mobile electronic device—such as aSmartphone, tablet computer, or laptop computer—may includefunctionality for determining its location, direction, or orientation,such as a GPS receiver, compass, or gyroscope. Such a mobile device mayalso include functionality for wireless communication, such as BLUETOOTHcommunication, near-field communication (NFC), or infrared (IR)communication or communication with a wireless local area networks(WLANs) or cellular-telephone network. Such a mobile device may alsoinclude one or more cameras, scanners, touchscreens, microphones, orspeakers. Mobile electronic devices may also execute softwareapplications, such as games, web browsers, or social-networkingapplications. With social-networking applications, users may connect,communicate, and share information with other users in their socialnetworks.

In particular embodiments, a mobile electronic device (e.g., Smartphoneor tablet computer) may include a touchscreen capable of receiving touchinput. FIG. 2A illustrates an example mobile electronic device 210(e.g., a Smartphone) having a touchscreen 215. Touchscreen 215 mayincorporate one or more touch sensors and a touch-sensor controller fordetecting the presence and location of a touch (e.g., from a user'sfinger) or the proximity of an object (e.g., a stylus). In particularembodiments, a specific touch detected via touchscreen 215 may result ina touch input event.

Different mobile electronic devices may have different designs. As aresult, the size, shape, or aspect ration of the touchscreens ofdifferent mobile devices may differ. FIG. 2B illustrates another examplemobile electronic device 220 (e.g., a tablet computer) having atouchscreen 225. Similarly, touchscreen 225 may incorporate one or moretouch sensors and a touch-sensor controller for detecting the presenceand location of a touch (e.g., from a user's finger) or the proximity ofan object (e.g., a stylus). A specific touch detected via touchscreen225 may result in a touch input event. However, since mobile electronicdevices 210 and 220 are two different types of devices, their respectivetouchscreen 215 and 225 have different sizes and aspect ratios.

There may be various types of touches or gestures, such as single tap,double tap, short press, long press, slide, swipe, flip, pan, drag,pinch open, or pinch close, corresponding to various types of touchinput events. Different touch input events may result in differentresponses and this disclosure contemplates any applicable gesture.

Social-networking system 160 may store various types of data including,for example, user data, application data, or social data. In particularembodiments, such data may be stored in a graph having any number ofnodes and edges, where each edge connects two nodes. The graph is oftenreferred to as a “social graph” or “open graph” as it contains, amongothers, social information.

FIG. 3 illustrates example social graph 300. In particular embodiments,social-networking system 160 may store one or more social graphs 300 inone or more data stores. In particular embodiments, social graph 300 mayinclude multiple nodes—which may include multiple user nodes 302 ormultiple concept nodes 304—and multiple edges 306 connecting the nodes.Example social graph 300 illustrated in FIG. 3 is shown, for didacticpurposes, in a two-dimensional visual map representation. In particularembodiments, a social-networking system 160, client system 130, orthird-party system 170 may access social graph 300 and relatedsocial-graph information for suitable applications. The nodes and edgesof social graph 300 may be stored as data objects, for example, in adata store (such as a social-graph database). Such a data store mayinclude one or more searchable or queryable indexes of nodes or edges ofsocial graph 300.

In particular embodiments, a user node 302 may correspond to a user ofsocial-networking system 160. As an example and not by way oflimitation, a user may be an individual (human user), an entity (e.g.,an enterprise, business, or third-party application), or a group (e.g.,of individuals or entities) that interacts or communicates with or oversocial-networking system 160. In particular embodiments, when a userregisters for an account with social-networking system 160,social-networking system 160 may create a user node 302 corresponding tothe user, and store the user node 302 in one or more data stores. Usersand user nodes 302 described herein may, where appropriate, refer toregistered users and user nodes 302 associated with registered users. Inaddition or as an alternative, users and user nodes 302 described hereinmay, where appropriate, refer to users that have not registered withsocial-networking system 160. In particular embodiments, a user node 302may be associated with information provided by a user or informationgathered by various systems, including social-networking system 160. Asan example and not by way of limitation, a user may provide his or hername, profile picture, contact information, birth date, sex, maritalstatus, family status, employment, education background, preferences,interests, or other demographic information. In particular embodiments,a user node 302 may be associated with one or more data objectscorresponding to information associated with a user. In particularembodiments, a user node 302 may correspond to one or more webpages.

In particular embodiments, a concept node 304 may correspond to aconcept. As an example and not by way of limitation, a concept maycorrespond to a place (such as, for example, a movie theater,restaurant, landmark, or city); a website (such as, for example, awebsite associated with social-network system 160 or a third-partywebsite associated with a web-application server); an entity (such as,for example, a person, business, group, sports team, or celebrity); aresource (such as, for example, an audio file, video file, digitalphoto, text file, structured document, or application) which may belocated within social-networking system 160 or on an external server,such as a web-application server; real or intellectual property (suchas, for example, a sculpture, painting, movie, game, song, idea,photograph, or written work); a game; an activity; an idea or theory;another suitable concept; or two or more such concepts. A concept node304 may be associated with information of a concept provided by a useror information gathered by various systems, including social-networkingsystem 160. As an example and not by way of limitation, information of aconcept may include a name or a title; one or more images (e.g., animage of the cover page of a book); a location (e.g., an address or ageographical location); a website (which may be associated with a URL);contact information (e.g., a phone number or an email address); othersuitable concept information; or any suitable combination of suchinformation. In particular embodiments, a concept node 304 may beassociated with one or more data objects corresponding to informationassociated with concept node 304. In particular embodiments, a conceptnode 304 may correspond to one or more webpages.

In particular embodiments, a node in social graph 300 may represent orbe represented by a webpage (which may be referred to as a “profilepage”). Profile pages may be hosted by or accessible tosocial-networking system 160. Profile pages may also be hosted onthird-party websites associated with a third-party server 170. As anexample and not by way of limitation, a profile page corresponding to aparticular external webpage may be the particular external webpage andthe profile page may correspond to a particular concept node 304.Profile pages may be viewable by all or a selected subset of otherusers. As an example and not by way of limitation, a user node 302 mayhave a corresponding user-profile page in which the corresponding usermay add content, make declarations, or otherwise express himself orherself. As another example and not by way of limitation, a concept node304 may have a corresponding concept-profile page in which one or moreusers may add content, make declarations, or express themselves,particularly in relation to the concept corresponding to concept node304.

In particular embodiments, a concept node 304 may represent athird-party webpage or resource hosted by a third-party system 170. Thethird-party webpage or resource may include, among other elements,content, a selectable or other icon, or other inter-actable object(which may be implemented, for example, in JavaScript, AJAX, or PHPcodes) representing an action or activity. As an example and not by wayof limitation, a third-party webpage may include a selectable icon suchas “like,” “check in,” “eat,” “recommend,” or another suitable action oractivity. A user viewing the third-party webpage may perform an actionby selecting one of the icons (e.g., “eat”), causing a client system 130to transmit to social-networking system 160 a message indicating theuser's action. In response to the message, social-networking system 160may create an edge (e.g., an “eat” edge) between a user node 302corresponding to the user and a concept node 304 corresponding to thethird-party webpage or resource and store edge 306 in one or more datastores.

In particular embodiments, a pair of nodes in social graph 300 may beconnected to each other by one or more edges 306. An edge 306 connectinga pair of nodes may represent a relationship between the pair of nodes.In particular embodiments, an edge 306 may include or represent one ormore data objects or attributes corresponding to the relationshipbetween a pair of nodes. As an example and not by way of limitation, afirst user may indicate that a second user is a “friend” of the firstuser. In response to this indication, social-networking system 160 maytransmit a “friend request” to the second user. If the second userconfirms the “friend request,” social-networking system 160 may createan edge 306 connecting the first user's user node 302 to the seconduser's user node 302 in social graph 300 and store edge 306 associal-graph information in one or more of data stores (e.g., datastores associated with social-networking system 160). In the example ofFIG. 3, social graph 300 includes an edge 306 indicating a friendrelation between user nodes 302 of user “A” and user “B” and an edgeindicating a friend relation between user nodes 302 of user “C” and user“B.” Although this disclosure describes or illustrates particular edges306 with particular attributes connecting particular user nodes 302,this disclosure contemplates any suitable edges 306 with any suitableattributes connecting user nodes 302. As an example and not by way oflimitation, an edge 306 may represent a friendship, family relationship,business or employment relationship, fan relationship, followerrelationship, visitor relationship, subscriber relationship,superior/subordinate relationship, reciprocal relationship,non-reciprocal relationship, another suitable type of relationship, ortwo or more such relationships. Moreover, although this disclosuregenerally describes nodes as being connected, this disclosure alsodescribes users or concepts as being connected. Herein, references tousers or concepts being connected may, where appropriate, refer to thenodes corresponding to those users or concepts being connected in socialgraph 300 by one or more edges 306.

In particular embodiments, an edge 306 between a user node 302 and aconcept node 304 may represent a particular action or activity performedby a user associated with user node 302 toward a concept associated witha concept node 304. As an example and not by way of limitation, asillustrated in FIG. 3, a user may “like,” “attended,” “played,”“listened,” “cooked,” “worked at,” or “watched” a concept, each of whichmay correspond to a edge type or subtype. A concept-profile pagecorresponding to a concept node 304 may include, for example, aselectable “check in” icon (such as, for example, a clickable “check in”icon) or a selectable “add to favorites” icon. Similarly, after a userclicks these icons, social-networking system 160 may create a “favorite”edge or a “check in” edge in response to a user's action correspondingto a respective action. As another example and not by way of limitation,a user (user “C”) may listen to a particular song (“Ramble On”) using aparticular application (SPOTIFY, which is an online music application).In this case, social-networking system 160 may create a “listened” edge306 and a “used” edge (as illustrated in FIG. 3) between user nodes 302corresponding to the user and concept nodes 304 corresponding to thesong and application to indicate that the user listened to the song andused the application. Moreover, social-networking system 160 may createa “played” edge 306 (as illustrated in FIG. 3) between concept nodes 304corresponding to the song and the application to indicate that theparticular song was played by the particular application. In this case,“played” edge 306 corresponds to an action performed by an externalapplication (SPOTIFY) on an external audio file (the song “Imagine”).Although this disclosure describes particular edges 306 with particularattributes connecting user nodes 302 and concept nodes 304, thisdisclosure contemplates any suitable edges 306 with any suitableattributes connecting user nodes 302 and concept nodes 304. Moreover,although this disclosure describes edges between a user node 302 and aconcept node 304 representing a single relationship, this disclosurecontemplates edges between a user node 302 and a concept node 304representing one or more relationships. As an example and not by way oflimitation, an edge 306 may represent both that a user likes and hasused at a particular concept. Alternatively, another edge 306 mayrepresent each type of relationship (or multiples of a singlerelationship) between a user node 302 and a concept node 304 (asillustrated in FIG. 3 between user node 302 for user “E” and conceptnode 304 for “SPOTIFY”).

In particular embodiments, social-networking system 160 may create anedge 306 between a user node 302 and a concept node 304 in social graph300. As an example and not by way of limitation, a user viewing aconcept-profile page (such as, for example, by using a web browser or aspecial-purpose application hosted by the user's client system 130) mayindicate that he or she likes the concept represented by the conceptnode 304 by clicking or selecting a “Like” icon, which may cause theuser's client system 130 to transmit to social-networking system 160 amessage indicating the user's liking of the concept associated with theconcept-profile page. In response to the message, social-networkingsystem 160 may create an edge 306 between user node 302 associated withthe user and concept node 304, as illustrated by “like” edge 306 betweenthe user and concept node 304. In particular embodiments,social-networking system 160 may store an edge 306 in one or more datastores. In particular embodiments, an edge 306 may be automaticallyformed by social-networking system 160 in response to a particular useraction. As an example and not by way of limitation, if a first useruploads a picture, watches a movie, or listens to a song, an edge 306may be formed between user node 302 corresponding to the first user andconcept nodes 304 corresponding to those concepts. Although thisdisclosure describes forming particular edges 306 in particular manners,this disclosure contemplates forming any suitable edges 306 in anysuitable manner.

In particular embodiments, a set of objects may be organized into ahierarchy based on, for example, how the individual objects are relatedto each other. An object hierarchy may have any number of levels, and ateach level, there may be any number of objects. Parent-child or siblingrelationships may exist between specific objects in the hierarchy.Within an object hierarchy, a parent object is one level above the levelof its child objects. Two sibling objects are at the same level andshare the same parent object. In addition, any portion of the hierarchymay also be considered a hierarchy in itself.

FIG. 4 illustrates a portion of an example object hierarchy 400 thatincludes a number of objects 410. FIG. 4 is in fact a visualrepresentation of an object hierarchy. Each node represents a specificobject in the hierarchy, and each edge connecting two nodes represents aparent-child relationship between the two corresponding objects.

In particular embodiments, an object in a hierarchy may or may not havea parent. If an object does not have a parent, it may be referred to asa “root” object (e.g., object 410A). Typically, the root object ispositioned at the first or topmost level of the hierarchy. In particularembodiments, an object in a hierarchy may or may not have any children.If an object does not have any children, it may be referred to as a“leaf” or “terminal” object (e.g., object 410B). If an object does havechildren (e.g., object 410C), it may have any number of children. Inaddition, objects sharing the same parent may be referred to as eachother's “siblings”. For example, in FIG. 4, object 410C is the parent ofobjects 410D and 410B. Objects 410D and 410B are the children of object410C and are siblings to each other. Thus, a hierarchy of objects (e.g.,object hierarchy 400) not only includes the individual objects (e.g.,objects 410) themselves but also indicates the relationships among thespecific objects. Moreover, the position of a specific object within thehierarchy may indicate its relationships with other objects in thehierarchy.

Objects 410 may be of various types, and this disclosure contemplatesany applicable object types. For example and without limitation, theterm “object” may refer to any type of content, including but notlimited to images, videos, captions, text blocks or boxes,user-interface elements, clickable links, newsfeed stories, referencesto other objects, advertisements, calendar events, units for displayingopen graph analysis that may be graphically rendered, applications,websites, web pages, books, chapters. In particular embodiments, given ahierarchy of objects, which may be a portion of another, largerhierarchy of objects, the hierarchical relationships (e.g., parent-childor sibling relationships, positions of the objects within the hierarchy)between specific objects may direct some aspects of how these objectsbehave in the context of a user interface or how the objects arepresented to a user.

As an example, in the context of the desktop of a computing device, thedesktop may be a parent object, and sometimes the root object of ahierarchy, whose child objects are the individual software applicationsavailable on the desktop. A software application, while itself being oneof the child objects of the desktop, is also the parent object of theindividual components of that software application. Different softwareapplications may include different components. For example, for asoftware application that manages digital books (e.g., a book readerapplication), its components may include the digital books available,the individual chapters of each book, the pages of each chapter, and thetexts, images, videos, audios, or other content or media elements oneach page. Each of these also corresponds to an object (e.g.,user-interface component) in the hierarchy. More specifically, withinthe hierarchy, the digital book application may be the parent object ofthe digital books. A digital book may be the parent object of theindividual chapters of that book. A chapter, while itself being one ofthe child objects of the book, is also the parent object of the pages inthat chapter. A page is the parent object of the texts, images, videos,audios, or other content or media elements on that page. A text block,image, video, audio, or other content or media element is one of thechild objects of the page to which it belongs. Similarly, for a softwareapplication that manages news feeds, its components may include theindividual news channels and the news stories within each channel. Eachof these may correspond to an object. Within the hierarchy, thenews-feed application, while itself being one of the child objects ofthe desktop, is also the parent object of the news channels. A newschannel in turn is the parent object of the news stories included inthat channel.

As another example, in the context of the Internet or the World WideWeb, the Internet may be a parent object whose child objects are theindividual websites. A website, while itself being one of the childobjects of the Internet, is also the parent object of the individual webpages of that website. A web page, while itself being one of the childobjects of the website to which it belongs, is the parent object of thetexts, images, videos, audios, or links (e.g., Uniform Resource Locators(URLs)) included in the web page. Each text block, image, video, audio,or link may also correspond to a specific object in the hierarchy.

As a third example, a website, such as a social-networking websiteimplemented by social-networking system 160, may also be arranged in ahierarchical structure for navigating the content of thesocial-networking website. In this context, the social-networkingwebsite may be a parent object whose child objects are the components(e.g., photo albums, user profile pages, etc.) of the website. Forexample, a photo album, while itself being a child object of thesocial-networking website, may in turn be a parent object, and theindividual photos within the album may be the child objects of the photoalbum. A user's profile page may be structured in such a hierarchicalfashion as well. The profile page itself may be considered a parentobject, and the individual objects on the profile page may be the childobjects of the profile page. In particular embodiments, a profile pagemay be considered and rendered (e.g., for presentation to a user) as alinear timeline of objects, such as, for example and without limitation,photos, photo albums, check-ins, comments from other users, attendedevents, tags, applications the user has added to the profile page,stories, songs the user has listened to, playlists. These various typesof objects may all be children of the profile page, or may be furtherarranged into multiple levels. With some implementations, a user'sprofile page may include any number of sections, such as the user'seducation and employment information, the user's public “wall”, or theuser's social connections. Then the various types of objects above maybe divided into specific sections.

In particular embodiments, an object 410 may be a component of a userinterface. In this case, object hierarchy 400 may correspond to the userinterface, and each object 410 may correspond to a specific component ofthe user-interface. A user interface may have various types ofcomponents, and this disclosure contemplates any applicableuser-interface component types. For example, a user-interface component(i.e., an object 410) may be a window, a section, a tab, an image, avideo, an audio, a text block, a menu, an icon, a button, a checkbox, awebsite, a web page, a frame, a clickable link, a message, a post, or aninput field. In particular embodiments, an object 410 may be consumed bya user if the user is able to, for example and without limitation,interact with, view, read, listen to, manipulate, or handle the object410. For example, some user-consumable objects 410 may be texts, images,videos, audios, feeds, executables (e.g., application programs orgames), websites, web pages, digital books, photo albums, posts, ormessages.

In particular embodiments, when the user interface corresponding toobject hierarchy 400 is displayed (e.g., on a client system 130), thestructure of the corresponding object hierarchy 400 may reflect thestructure of the user interface. The relationships among the individualcomponents in the user interface, as reflected in object hierarchy 400,may influence how these components are organized and presented to users.The user interface may have any number of layers, respectivelycorresponding to the individual levels of object hierarchy 400. Objects410 (e.g., user-interface components) at a specific level of objecthierarchy 400 are displayed in the corresponding layer of the userinterface. With some implementations, the lowest or bottommost layer ofthe user interface corresponds to the first or topmost level of objecthierarchy 400. Thus, root object 410A is displayed in the lowest layerof the user interface. Furthermore, in the user interface, each object410 (e.g., user-interface component) is displayed in a layer immediatelyabove the layer where its parent, if one exists, is displayed andimmediately below the layer where its children, if any, are displayed.Sibling objects 410 are displayed at the same layer. Thus, the positionof a component in the user interface indicates its relationships (e.g.,parent-child or sibling) with other components in the user interface.

In particular embodiments, a user-interface component (e.g., an image, avideo, a folder, etc.) may be displayed in various display modes. As anexample, the user-interface component may be displayed in a“full-screen” mode, where the user-interface component occupies theentire or nearly the entire display area (e.g., the screen of anelectronic device). As another example, the user-interface component maybe displayed in an “on-page” mode, where the user-interface component isincluded in another user-interface component and displayed as a part ofthat other user-interface component (e.g., an image is displayed as apart of a web page). As a third example, the user-interface componentmay be displayed in an “index” mode, where the user-interface componentis a part of a series of user-interface components (e.g., an image isdisplayed together with other images from the same album, or a chapterof a book is displayed in the table of content of the book together withother chapters from the same book).

In particular embodiments, a hierarchical user interface may be used topresent content to a user. Such a user interface may be referred to as a“content feed” or “news feed” user interface. The content may be of anytype and format, such as, for example and without limitation, text,icon, image, video, audio, web page, post, or message. This disclosurecontemplates any applicable content type and format. In particularembodiments, the individual content items (e.g., text, image, video,audio, web page, post, message, news piece, etc.) may be organized intovarious categories, referred to as content sections. For example,related content items may be categorized into the same content section.The user interface may include any number of content sections, and eachcontent section may include any number of content items. Hierarchically,a content section may be the parent of the content items belonging tothat section. For example, various photos taken during a holiday tripmay be organized into the same album, and various photo albums may beorganized into the photo section of the user interface.

In particular embodiments, a user may consume or interact with aspecific content item. For example, a user consumes a content item whenthe user scrolls, opens up, views, listens to, selects, reviews, orcomments on the content item. A user interacts with a content item whenthe user selects, clicks on, taps, reviews, or comments on the contentitem. This disclosure contemplates any applicable means for a user toconsume or interact with a content item.

In particular embodiments, when a content item is displayed on thescreen of an electronic device (e.g., as a part of a hierarchical userinterface), the content item may be displayed in one of several displaymodes, such as, for example and without limitation, full-screen mode,on-page mode, and index mode. FIG. 5A illustrates an example image 511(e.g., a digital photograph, or photo for short) being displayed in thefull-screen mode on the screen of a Smartphone. In this case, image 511occupies, by itself, the entire or nearly the entire display area (e.g.,the screen of the Smartphone). FIG. 5B illustrates an example image 521being displayed in the on-page mode on the screen of the Smartphone. Inthis case, image 521 is included in and displayed as a part (e.g., acomponent) of another content item 522 (e.g., a web page). FIG. 5Cillustrates example image 511 being displayed in the index mode on thescreen of a Smartphone. In this case, image 511 is a part of a series ofcontent items 531 of the same or different types, and several of thesecontent items are displayed together (e.g., as an index or a table ofcontent).

In particular embodiments, when a content item is displayed in onedisplay mode, it may transition to another display mode in response to auser input. As an example, while image 511 is displayed in thefull-screen mode as illustrated in FIG. 5A, in response to a user makinga pinch-close gesture on the touchscreen of the Smartphone, image 511may transition to the on-page mode or the index mode. As anotherexample, while image 521 is displayed in the on-page mode as illustratedin FIG. 5B, in response to the user making a pinch-open gesture on thetouchscreen of the Smartphone, image 521 may transition to thefull-screen mode. Conversely, in response to the user making apinch-close gesture on the touchscreen of the Smartphone, image 521 maytransition to the index mode. As a third example, while image 511 isdisplayed in the index mode as illustrated in FIG. 5C, in response to auser making a pinch-open gesture on the touchscreen of the Smartphone,image 511 may transition to the on-page mode or the full-screen mode.

FIG. 6 illustrates an example method 600 for transitioning an imagebetween two display modes. Method 600 may begin at STEP 610, where animage, such as a digital photograph, is displayed in a first displaymode. At STEP 620, in response to a user input, such as a userinteraction with the image, the image may transition from the firstdisplay mode to the second display mode. In particular embodiments, ananimation sequence may be displayed during the mode transition. Withsome implementation, the animation sequence may feature the imageitself.

To further explain the steps of method 600, consider the exampleanimation sequence illustrated in FIGS. 7A-7I. In FIG. 7A, an image 711is displayed in the full-screen mode on the screen of a Smartphone. Thescreen is a touchscreen and is capable of receiving a user's touchgesture as input. Suppose that a user makes a finger swipe gesture byquickly sliding a finger across the touchscreen. This swipe gestureresults in a user input being received at the Smartphone and may causeimage 711 to transition from the current display mode (e.g., thefull-screen mode) to another display mode (e.g., the on-page mode).

In particular embodiments, different gestures may cause the image tomake different types of mode transitions. As an example, when an imageis displayed in the on-page mode, an upward finger swipe (e.g., quicklysliding a finger from bottom to top across the touchscreen) may causethe image to transition to the full-screen mode, while a downward fingerswipe (e.g., quickly sliding a finger from top to bottom across thetouchscreen) may cause the image to transition to the index mode. Asanother example, when an image displayed in the full-screen mode, thepinch-close gesture (e.g., brining two fingers closer together) maycause the image to transition to the on-page mode or index mode.Conversely, when an image displayed in the index mode, the pinch-opengesture (e.g., brining two fingers farther apart) may cause the image totransition to the on-page mode or full-screen mode. Other gestures, suchas pan or drag may also be used to cause these transitions and thisdisclosure contemplates any applicable gestures.

More generally speaking, an image may be displayed in various sizes. Forexample, the image is shown in a larger size when it is displayed in thefull-screen mode, but is shown in a smaller size when it is displayed inthe index mode. Thus, each display mode may correspond to a specificsize for displaying the image. In particular embodiments, while an imageis displayed at a specific size, one type of user input (e.g., upwardswipe, pinch open, or single tap) may cause the image to be transitionedto the next larger size, while another type of user input (e.g.,downward swipe, pinch close, or double tap) may cause the image to betransitioned to the next smaller size. For example, if a user wants toview an image in successive larger sizes, the user may repeatedly makeupward swipe gestures. Conversely, if the user wants to view the imagein successive smaller sizes, the user may repeatedly make downward swipegestures.

From FIG. 7A, upon receiving a user input (e.g., caused by a fingerswipe gesture), an animation sequence may be displayed while image 711is transitioned from the current display mode (e.g., the full-screenmode) to another display mode (e.g., the on-page mode). In particularembodiments, the animation sequence may feature image 711 itself. Withsome implementations, for the animation sequence, image 711 may firstrecede backward while decreasing in size, as illustrated in FIGS. 7B-7D.When image 711 reaches a smallest size (e.g., FIG. 7D), it then advancesforward while increasing in size, as illustrated in FIGS. 7E-7G. Whenimage 711 reaches a largest size (e.g., FIG. 7G), it again decreases insize, as illustrated in FIG. 7H, until finally it reaches the size andposition corresponding to the destination display mode to which image711 is transitioning, as illustrated in FIG. 7I, where image 711 isdisplayed in the on-page mode, being included as a part of anothercontent item 712 (e.g., a web page).

When a three-dimensional object is presented in a two-dimensionalmedium, various perspective techniques may be employed to simulatethree-dimensional visual effects. For example, when an object graduallydecreases in size, it has the visual effect of the object graduallyreceding backward, moving farther away from the viewer. Conversely, whenan object gradually increases in size, it has the visual effect of theobject gradually advancing forward, moving closer to the viewer. Thus,in the animation sequence illustrated in FIGS. 7A-7I, when image 711gradually decreases in size as illustrated in FIGS. 7B-7D, it has thevisual effect of image 711 gradually receding backward on the screen ofthe Smartphone, moving farther away from the user. Conversely, whenimage 711 gradually increases in size as illustrated in FIGS. 7E-7G, ithas the visual effect of image 711 gradually advancing forward on thescreen, moving closer to the user.

In particular embodiments, the movements of the image during ananimation sequence may be based on spring motion. With someimplementations, the spring motion may be defined based on Hooke's lawof elasticity, which, in mechanics and physics, states that theextension of a spring is in direct proportion with the load applied toit. Mathematically, Hooke's law states that F=−kx, where x is thedisplacement of the spring's end from its equilibrium position; F is therestoring force exerted by the spring on that end; and k is the rate ofspring constant.

With some implementations, the movements of the image during ananimation sequence may simulate the effect of attaching the image (e.g.,the center of the image) to one end of an imaginary spring, while theother end of the spring is attached to a position on the screen wherethe image should be displayed (e.g., in the display mode to which theimage is transitioned). During an animation sequence, the image may bedisplaced from its destination position on the screen (e.g., recedingbackward, advancing forward, or panning around). Nevertheless, the imageis tethered to its original position and state by the imaginary spring.Thus, the movements of the image during an animation sequence may have abouncing visual quality.

In particular embodiments, the movements of an image in an animationsequence (e.g., the speed at which the image changes its size or recedesbackward or advances forward, the smallest or largest size of the imageused in the animation sequence) during a mode transition may bedetermined based on the velocity or acceleration of a user's finger whenmaking the touch gesture that causes the image to transition between twodisplay modes. For example, suppose that the user makes a swipe gestureby sliding a finger vertically (e.g., up and down) across thetouchscreen of an electronic device. With some implementations, thevelocity or acceleration of the user's finger moving vertically acrossthe touchscreen may be recorded or determined. Suppose that thehorizontal direction with respect to the screen is the “x” direction;the vertical direction with respect to the screen is the “y” direction;and the perpendicular direction with respect to the screen is the “z”direction. Then, the velocity or acceleration of the user's fingermoving vertically across the touchscreen is the velocity or accelerationin the “y” direction. This velocity or acceleration in the “y” directionmay be translated into corresponding velocity or acceleration in the “z”direction for determining how fast or how far back the image shouldrecede during the animation sequence. Since the image recedes backwardand advances forward with respect to the screen, the image moves in the“z” direction. Thus, the user's finger's movements in the “y” directionon the touchscreen may control the image's movements in the “z”direction during the animation sequence. For example, if the user makesa faster swipe gesture, the image recedes backward faster and farther.Conversely, if the user makes a slower swipe gesture, the image recedesbackward slower and closer.

In particular embodiments, the velocity of the swiping gesture may benormalized (e.g., for scale and size) by dividing the velocity by anormalization factor. With some implementations, the normalizationfactor is itself a function of the velocity, “v”. With someimplementations, the normalization factor is defined in terms of thevelocity, “v”, as:

(1) normalization factor=170 when 0<=|v|<=3000;

(2) normalization factor=(170+(((|v|−3000)/1500)*50)) when3000<|v|<=4500;

(3) normalization factor=220 when 4500<|v|<infinite.

Note that in case (2), the normalization factor is a linear functionfrom 170 to 220. The velocity is thus normalized by dividing thevelocity by the appropriate normalization factor for the range to whichthe velocity belongs.

Particular embodiments may repeat one or more steps of the method ofFIG. 6, where appropriate. Although this disclosure describes andillustrates particular steps of the method of FIG. 6 as occurring in aparticular order, this disclosure contemplates any suitable steps of themethod of FIG. 6 occurring in any suitable order. Moreover, althoughthis disclosure describes and illustrates particular components,devices, or systems carrying out particular steps of the method of FIG.6, this disclosure contemplates any suitable combination of any suitablecomponents, devices, or systems carrying out any suitable steps of themethod of FIG. 6.

In particular embodiments, method 600 may be implemented as computersoftware and executed on an electronic or computer system. FIG. 8illustrates an example computer system 800. In particular embodiments,one or more computer systems 800 perform one or more steps of one ormore methods described or illustrated herein. In particular embodiments,one or more computer systems 800 provide functionality described orillustrated herein. In particular embodiments, software running on oneor more computer systems 800 performs one or more steps of one or moremethods described or illustrated herein or provides functionalitydescribed or illustrated herein. Particular embodiments include one ormore portions of one or more computer systems 800. Herein, reference toa computer system may encompass a computing device, and vice versa,where appropriate. Moreover, reference to a computer system mayencompass one or more computer systems, where appropriate.

This disclosure contemplates any suitable number of computer systems800. This disclosure contemplates computer system 800 taking anysuitable physical form. As example and not by way of limitation,computer system 800 may be an embedded computer system, a system-on-chip(SOC), a single-board computer system (SBC) (such as, for example, acomputer-on-module (COM) or system-on-module (SOM)), a desktop computersystem, a laptop or notebook computer system, an interactive kiosk, amainframe, a mesh of computer systems, a mobile telephone, a personaldigital assistant (PDA), a server, a tablet computer system, or acombination of two or more of these. Where appropriate, computer system800 may include one or more computer systems 800; be unitary ordistributed; span multiple locations; span multiple machines; spanmultiple data centers; or reside in a cloud, which may include one ormore cloud components in one or more networks. Where appropriate, one ormore computer systems 800 may perform without substantial spatial ortemporal limitation one or more steps of one or more methods describedor illustrated herein. As an example and not by way of limitation, oneor more computer systems 800 may perform in real time or in batch modeone or more steps of one or more methods described or illustratedherein. One or more computer systems 800 may perform at different timesor at different locations one or more steps of one or more methodsdescribed or illustrated herein, where appropriate.

In particular embodiments, computer system 800 includes a processor 802,memory 804, storage 806, an input/output (I/O) interface 808, acommunication interface 810, and a bus 812. Although this disclosuredescribes and illustrates a particular computer system having aparticular number of particular components in a particular arrangement,this disclosure contemplates any suitable computer system having anysuitable number of any suitable components in any suitable arrangement.

In particular embodiments, processor 802 includes hardware for executinginstructions, such as those making up a computer program. As an exampleand not by way of limitation, to execute instructions, processor 802 mayretrieve (or fetch) the instructions from an internal register, aninternal cache, memory 804, or storage 806; decode and execute them; andthen write one or more results to an internal register, an internalcache, memory 804, or storage 806. In particular embodiments, processor802 may include one or more internal caches for data, instructions, oraddresses. This disclosure contemplates processor 802 including anysuitable number of any suitable internal caches, where appropriate. Asan example and not by way of limitation, processor 802 may include oneor more instruction caches, one or more data caches, and one or moretranslation lookaside buffers (TLBs). Instructions in the instructioncaches may be copies of instructions in memory 804 or storage 806, andthe instruction caches may speed up retrieval of those instructions byprocessor 802. Data in the data caches may be copies of data in memory804 or storage 806 for instructions executing at processor 802 tooperate on; the results of previous instructions executed at processor802 for access by subsequent instructions executing at processor 802 orfor writing to memory 804 or storage 806; or other suitable data. Thedata caches may speed up read or write operations by processor 802. TheTLBs may speed up virtual-address translation for processor 802. Inparticular embodiments, processor 802 may include one or more internalregisters for data, instructions, or addresses. This disclosurecontemplates processor 802 including any suitable number of any suitableinternal registers, where appropriate. Where appropriate, processor 802may include one or more arithmetic logic units (ALUs); be a multi-coreprocessor; or include one or more processors 802. Although thisdisclosure describes and illustrates a particular processor, thisdisclosure contemplates any suitable processor.

In particular embodiments, memory 804 includes main memory for storinginstructions for processor 802 to execute or data for processor 802 tooperate on. As an example and not by way of limitation, computer system800 may load instructions from storage 806 or another source (such as,for example, another computer system 800) to memory 804. Processor 802may then load the instructions from memory 804 to an internal registeror internal cache. To execute the instructions, processor 802 mayretrieve the instructions from the internal register or internal cacheand decode them. During or after execution of the instructions,processor 802 may write one or more results (which may be intermediateor final results) to the internal register or internal cache. Processor802 may then write one or more of those results to memory 804. Inparticular embodiments, processor 802 executes only instructions in oneor more internal registers or internal caches or in memory 804 (asopposed to storage 806 or elsewhere) and operates only on data in one ormore internal registers or internal caches or in memory 804 (as opposedto storage 806 or elsewhere). One or more memory buses (which may eachinclude an address bus and a data bus) may couple processor 802 tomemory 804. Bus 812 may include one or more memory buses, as describedbelow. In particular embodiments, one or more memory management units(MMUs) reside between processor 802 and memory 804 and facilitateaccesses to memory 804 requested by processor 802. In particularembodiments, memory 804 includes random access memory (RAM). This RAMmay be volatile memory, where appropriate Where appropriate, this RAMmay be dynamic RAM (DRAM) or static RAM (SRAM). Moreover, whereappropriate, this RAM may be single-ported or multi-ported RAM. Thisdisclosure contemplates any suitable RAM. Memory 804 may include one ormore memories 804, where appropriate. Although this disclosure describesand illustrates particular memory, this disclosure contemplates anysuitable memory.

In particular embodiments, storage 806 includes mass storage for data orinstructions. As an example and not by way of limitation, storage 806may include a hard disk drive (HDD), a floppy disk drive, flash memory,an optical disc, a magneto-optical disc, magnetic tape, or a UniversalSerial Bus (USB) drive or a combination of two or more of these. Storage806 may include removable or non-removable (or fixed) media, whereappropriate. Storage 806 may be internal or external to computer system800, where appropriate. In particular embodiments, storage 806 isnon-volatile, solid-state memory. In particular embodiments, storage 806includes read-only memory (ROM). Where appropriate, this ROM may bemask-programmed ROM, programmable ROM (PROM), erasable PROM (EPROM),electrically erasable PROM (EEPROM), electrically alterable ROM (EAROM),or flash memory or a combination of two or more of these. Thisdisclosure contemplates mass storage 806 taking any suitable physicalform. Storage 806 may include one or more storage control unitsfacilitating communication between processor 802 and storage 806, whereappropriate. Where appropriate, storage 806 may include one or morestorages 806. Although this disclosure describes and illustratesparticular storage, this disclosure contemplates any suitable storage.

In particular embodiments, I/O interface 808 includes hardware,software, or both, providing one or more interfaces for communicationbetween computer system 800 and one or more I/O devices. Computer system800 may include one or more of these I/O devices, where appropriate. Oneor more of these I/O devices may enable communication between a personand computer system 800. As an example and not by way of limitation, anI/O device may include a keyboard, keypad, microphone, monitor, mouse,printer, scanner, speaker, still camera, stylus, tablet, touch screen,trackball, video camera, another suitable I/O device or a combination oftwo or more of these. An I/O device may include one or more sensors.This disclosure contemplates any suitable I/O devices and any suitableI/O interfaces 808 for them. Where appropriate, I/O interface 808 mayinclude one or more device or software drivers enabling processor 802 todrive one or more of these I/O devices. I/O interface 808 may includeone or more I/O interfaces 808, where appropriate. Although thisdisclosure describes and illustrates a particular I/O interface, thisdisclosure contemplates any suitable I/O interface.

In particular embodiments, communication interface 810 includeshardware, software, or both providing one or more interfaces forcommunication (such as, for example, packet-based communication) betweencomputer system 800 and one or more other computer systems 800 or one ormore networks. As an example and not by way of limitation, communicationinterface 810 may include a network interface controller (NIC) ornetwork adapter for communicating with an Ethernet or other wire-basednetwork or a wireless NIC (WNIC) or wireless adapter for communicatingwith a wireless network, such as a WI-FI network. This disclosurecontemplates any suitable network and any suitable communicationinterface 810 for it. As an example and not by way of limitation,computer system 800 may communicate with an ad hoc network, a personalarea network (PAN), a local area network (LAN), a wide area network(WAN), a metropolitan area network (MAN), or one or more portions of theInternet or a combination of two or more of these. One or more portionsof one or more of these networks may be wired or wireless. As anexample, computer system 800 may communicate with a wireless PAN (WPAN)(such as, for example, a BLUETOOTH WPAN), a WI-FI network, a WI-MAXnetwork, a cellular telephone network (such as, for example, a GlobalSystem for Mobile Communications (GSM) network), or other suitablewireless network or a combination of two or more of these. Computersystem 800 may include any suitable communication interface 810 for anyof these networks, where appropriate. Communication interface 810 mayinclude one or more communication interfaces 810, where appropriate.Although this disclosure describes and illustrates a particularcommunication interface, this disclosure contemplates any suitablecommunication interface.

In particular embodiments, bus 812 includes hardware, software, or bothcoupling components of computer system 800 to each other. As an exampleand not by way of limitation, bus 812 may include an AcceleratedGraphics Port (AGP) or other graphics bus, an Enhanced Industry StandardArchitecture (EISA) bus, a front-side bus (FSB), a HYPERTRANSPORT (HT)interconnect, an Industry Standard Architecture (ISA) bus, an INFINIBANDinterconnect, a low-pin-count (LPC) bus, a memory bus, a Micro ChannelArchitecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, aPCI-Express (PCIe) bus, a serial advanced technology attachment (SATA)bus, a Video Electronics Standards Association local (VLB) bus, oranother suitable bus or a combination of two or more of these. Bus 812may include one or more buses 812, where appropriate. Although thisdisclosure describes and illustrates a particular bus, this disclosurecontemplates any suitable bus or interconnect.

Herein, a computer-readable non-transitory storage medium or media mayinclude one or more semiconductor-based or other integrated circuits(ICs) (such, as for example, field-programmable gate arrays (FPGAs) orapplication-specific ICs (ASICs)), hard disk drives (HDDs), hybrid harddrives (HHDs), optical discs, optical disc drives (ODDs),magneto-optical discs, magneto-optical drives, floppy diskettes, floppydisk drives (FDDs), magnetic tapes, solid-state drives (SSDs),RAM-drives, SECURE DIGITAL cards or drives, any other suitablecomputer-readable non-transitory storage media, or any suitablecombination of two or more of these, where appropriate. Acomputer-readable non-transitory storage medium may be volatile,non-volatile, or a combination of volatile and non-volatile, whereappropriate.

Herein, “or” is inclusive and not exclusive, unless expressly indicatedotherwise or indicated otherwise by context. Therefore, herein, “A or B”means “A, B, or both,” unless expressly indicated otherwise or indicatedotherwise by context. Moreover, “and” is both joint and several, unlessexpressly indicated otherwise or indicated otherwise by context.Therefore, herein, “A and B” means “A and B, jointly or severally,”unless expressly indicated otherwise or indicated otherwise by context.

The scope of this disclosure encompasses all changes, substitutions,variations, alterations, and modifications to the example embodimentsdescribed or illustrated herein that a person having ordinary skill inthe art would comprehend. The scope of this disclosure is not limited tothe example embodiments described or illustrated herein. Moreover,although this disclosure describes and illustrates respectiveembodiments herein as including particular components, elements,functions, operations, or steps, any of these embodiments may includeany combination or permutation of any of the components, elements,functions, operations, or steps described or illustrated anywhere hereinthat a person having ordinary skill in the art would comprehend.Furthermore, reference in the appended claims to an apparatus or systemor a component of an apparatus or system being adapted to, arranged to,capable of, configured to, enabled to, operable to, or operative toperform a particular function encompasses that apparatus, system,component, whether or not it or that particular function is activated,turned on, or unlocked, as long as that apparatus, system, or componentis so adapted, arranged, capable, configured, enabled, operable, oroperative.

1. A method comprising: by a computing device, displaying on atouchscreen of the device an image in a first display mode, the image asdisplayed in the first display mode having a first size; and by thecomputing device, in response to a gesture input by a user, displayingan animation sequence to transition the image from the first displaymode to a second display mode, the image as displayed in the seconddisplay mode having a second size, the animation sequence being based atleast in part on a velocity or acceleration of the gesture input.
 2. Themethod of claim 1, wherein the animation sequence depicts the imagefirst receding backward while decreasing in size and then advancingforward while increasing in size.
 3. The method of claim 2, wherein: thegesture input comprises a swipe gesture resulting from sliding a fingeracross the touchscreen; and a velocity or distance with which the imagerecedes backward in the animation sequence is determined based on avelocity of the finger sliding across the touchscreen.
 4. The method ofclaim 1, wherein movements of the image in the animation sequence arebased on spring motion by simulating an effect of attaching the image toa position on the touchscreen of the computing device via an imaginaryspring.
 5. The method of claim 1, wherein the velocity of the gestureinput is normalized using a normalization factor.
 6. One or morecomputer-readable non-transitory storage media embodying software thatis operable when executed to: display on a touchscreen of a computingdevice an image in a first display mode, the image as displayed in thefirst display mode having a first size; and in response to a gestureinput by a user, display an animation sequence to transition the imagefrom the first display mode to a second display mode, the image asdisplayed in the second display mode having a second size, the animationsequence being based at least in part on a velocity or acceleration ofthe gesture input.
 7. The media of claim 6, wherein the animationsequence depicts the image first receding backward while decreasing insize and then advancing forward while increasing in size.
 8. The mediaof claim 7, wherein: the gesture input comprises a swipe gestureresulting from sliding a finger across the touchscreen; and a velocityor distance with which the image recedes backward in the animationsequence is determined based on a velocity of the finger sliding acrossthe touchscreen.
 9. The media of claim 6, wherein movements of the imagein the animation sequence are based on spring motion by simulating aneffect of attaching the image to a position on the touchscreen of thecomputing device via an imaginary spring.
 10. The media of claim 6,wherein the velocity of the gesture input is normalized using anormalization factor.
 11. A system comprising: one or more processors;and a memory coupled to the processors comprising instructionsexecutable by the processors, the processors operable when executing theinstructions to: display on a touchscreen of a computing device an imagein a first display mode, the image as displayed in the first displaymode having a first size; and in response to a gesture input by a user,display an animation sequence to transition the image from the firstdisplay mode to a second display mode, the image as displayed in thesecond display mode having a second size, the animation sequence beingbased at least in part on a velocity or acceleration of the gestureinput.
 12. The system of claim 11, wherein the animation sequencedepicts the image first receding backward while decreasing in size andthen advancing forward while increasing in size.
 13. The system of claim12, wherein: the gesture input comprises a swipe gesture resulting fromsliding a finger across the touchscreen; and a velocity or distance withwhich the image recedes backward in the animation sequence is determinedbased on a velocity of the finger sliding across the touchscreen. 14.The system of claim 11, wherein movements of the image in the animationsequence are based on spring motion by simulating an effect of attachingthe image to a position on the touchscreen of the computing device viaan imaginary spring.
 15. The system of claim 11, wherein the velocity ofthe gesture input is normalized using a normalization factor.